#if !defined(AFX_DIALOGSETTINGS_H__7AC23E09_DB04_4A44_A2E1_AC6607306FCE__INCLUDED_)
#define AFX_DIALOGSETTINGS_H__7AC23E09_DB04_4A44_A2E1_AC6607306FCE__INCLUDED_

#include "resource.h"
#include "..\Colorbtn.h"


#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DialogSettings.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDialogSettings dialog

class CDialogSettings : public CDialog
{
// Construction
public:
	CDialogSettings(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDialogSettings)
	enum { IDD = IDD_DIALOG_SETTINGS };
	CColorBtn	m_fillcolor;
	CColorBtn	m_linecolor;
	int		m_linewidth;
	BOOL	m_isfill;
	BOOL	m_isline;
	CString	m_transvalue;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDialogSettings)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation

public:
	void EnableItem(DWORD id,BOOL isEnable);
	COLORREF s_LineColor;
	COLORREF s_FillColor;
	int s_Type;
	int s_LineWidth;
	int s_MinSlope;
	BOOL s_IsFill;
	int s_CapsType;
	int s_LineType;
	BOOL s_IsLine;



protected:

	// Generated message map functions
	//{{AFX_MSG(CDialogSettings)
	virtual void OnCancel();
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnDeltaposSpinLinewidth(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCheckIsFill();
	afx_msg void OnRadioLine();
	afx_msg void OnRadioCirc();
	afx_msg void OnRadioRect();
	afx_msg void OnCheckIsLine();
	afx_msg void OnRadioLine2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DIALOGSETTINGS_H__7AC23E09_DB04_4A44_A2E1_AC6607306FCE__INCLUDED_)
